﻿using System;
using System.ComponentModel;
using Csla;
using lite;
using Csla.Validation;
using Csla.Data;
using System.Data.SqlClient;
using OpenExpressApp.ORM;


namespace ZX.EHR.Library
{
    [Serializable]
    [Table(Name = "salSalaryRelationFields")]
    [ZX.DBModule.Table("salSalaryRelationFields", "ID")]
    public class salSalaryRelationFields : ZX.DBModule.BaseEntity
    {
        public salSalaryRelationFields()
		{

		}

        private Guid _salRelationTableID;
		[Column]
        public Guid salRelationTableID
		{
            get { return _salRelationTableID; }
            set { _salRelationTableID = value; }
		}

        private System.String _FieldName;
		[Column]
        public System.String FieldName
		{
            get { return _FieldName; }
            set { _FieldName = value; }
		}

        private System.String _FieldDes;
		[Column]
        public System.String FieldDes
		{
            get { return _FieldDes; }
            set { _FieldDes = value; }
		}

        private System.String _FiledType;
		[Column]
        public System.String FiledType
		{
            get { return _FiledType; }
            set { _FiledType = value; }
		}

        private System.Int32 _RecID;
		[Column]
        public System.Int32 RecID
		{
            get { return _RecID; }
            set { _RecID = value; }
		}

        private System.Guid _ID;
        [Column]
        public System.Guid ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
    }
}
